package com.quanshu.exchange.support.entity;

import java.util.List;

import lombok.Data;

/**
 * 购物车
 * Created by xiniu003 on 2018/1/5.
 */

@Data
public class ShoppingCarEntity {

    /**
     * code : 1
     * msg : 获取购物车成功
     * data : {"serviceSum":0,"GP_pay":0,"GP_sum":0,"niuScore_sum":0,"niuScore_pay":0,"final_sum":5800,"sum":5800,"goodsList":[{"name":"测试1","is_active":"1","cost_price":"0.00","goods_id":"251","img":"upload/2018/01/08/20180108123524645.jpg","sell_price":"300.00","gp_price":"0.00","niu_score":"0.00","market_rmb":"500.00","weight":"0.00","store_nums":"100","exp":"0","goods_no":"SD151538603924","product_id":"0","seller_id":"0","reduce":0,"count":2,"is_service":null,"sum":600,"count_gp":0,"count_score":0,"count_rmb":1000,"goods_type":"goods"},{"name":"测试2","is_active":"1","cost_price":"0.00","goods_id":"252","img":"upload/2018/01/08/20180108124001914.jpg","sell_price":"400.00","gp_price":"0.00","niu_score":"0.00","market_rmb":"600.00","weight":"0.00","store_nums":"100","exp":"0","goods_no":"SD151538636945","product_id":"0","seller_id":"0","reduce":0,"count":3,"is_service":null,"sum":1200,"count_gp":0,"count_score":0,"count_rmb":1800,"goods_type":"goods"},{"name":"测试3","is_active":"1","cost_price":"0.00","goods_id":"253","img":"upload/2018/01/08/20180108124152770.jpg","sell_price":"1000.00","gp_price":"0.00","niu_score":"0.00","market_rmb":"1200.00","weight":"0.00","store_nums":"100","exp":"0","goods_no":"SD151538648584","product_id":"0","seller_id":"0","reduce":0,"count":4,"is_service":null,"sum":4000,"count_gp":0,"count_score":0,"count_rmb":4800,"goods_type":"goods"}],"count":9,"full_sum":0,"full_reduce":0}
     */

    /**
     * serviceSum : 0
     * GP_pay : 0
     * GP_sum : 0
     * niuScore_sum : 0
     * niuScore_pay : 0
     * final_sum : 5800
     * sum : 5800
     * goodsList : [{"name":"测试1","is_active":"1","cost_price":"0.00","goods_id":"251","img":"upload/2018/01/08/20180108123524645.jpg","sell_price":"300.00","gp_price":"0.00","niu_score":"0.00","market_rmb":"500.00","weight":"0.00","store_nums":"100","exp":"0","goods_no":"SD151538603924","product_id":"0","seller_id":"0","reduce":0,"count":2,"is_service":null,"sum":600,"count_gp":0,"count_score":0,"count_rmb":1000,"goods_type":"goods"},{"name":"测试2","is_active":"1","cost_price":"0.00","goods_id":"252","img":"upload/2018/01/08/20180108124001914.jpg","sell_price":"400.00","gp_price":"0.00","niu_score":"0.00","market_rmb":"600.00","weight":"0.00","store_nums":"100","exp":"0","goods_no":"SD151538636945","product_id":"0","seller_id":"0","reduce":0,"count":3,"is_service":null,"sum":1200,"count_gp":0,"count_score":0,"count_rmb":1800,"goods_type":"goods"},{"name":"测试3","is_active":"1","cost_price":"0.00","goods_id":"253","img":"upload/2018/01/08/20180108124152770.jpg","sell_price":"1000.00","gp_price":"0.00","niu_score":"0.00","market_rmb":"1200.00","weight":"0.00","store_nums":"100","exp":"0","goods_no":"SD151538648584","product_id":"0","seller_id":"0","reduce":0,"count":4,"is_service":null,"sum":4000,"count_gp":0,"count_score":0,"count_rmb":4800,"goods_type":"goods"}]
     * count : 9
     * full_sum : 0
     * full_reduce : 0
     */

    private int serviceSum;
    private int GP_pay;
    private int GP_sum;
    private int niuScore_sum;
    private int niuScore_pay;
    private double final_sum;
    private double sum;
    private int count;
    private int full_sum;
    private int full_reduce;
    private List<GoodsEntity> goodsList;


}
